import { defineConfig } from 'vite'
// @ts-ignore
const path = require('path')
import vue from '@vitejs/plugin-vue'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue()],
  base:'./',
  optimizeDeps: {
    include: [ 'axios' ]
  },
  resolve: {
    alias: {
      // @ts-ignore
      '/@': path.resolve( __dirname, './src' )
    },
  },
})
